package com.ruoyi.outbound.consignment.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 发货通知单对象 consignment
 * 
 * @author zzx
 * @date 2024-02-07
 */
public class Consignment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 发货通知单编码 */
    private String consignmentId;

    /** 出库类型 */
    @Excel(name = "出库类型")
    private String types;

    /** 销售订单号 */
    @Excel(name = "销售订单号")
    private String clientOrderNumber;

    /** 单据日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "单据日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 客户 */
    @Excel(name = "客户")
    private String clientName;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String productId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String specifications;

    /** 客户型号 */
    @Excel(name = "客户型号")
    private String customerModel;


    /** 颜色 */
    @Excel(name = "颜色")
    private String colour;

    /** 出货仓库 */
    @Excel(name = "出货仓库")
    private String warehouseId;

    /** 应出库数量 */
    @Excel(name = "应出库数量")
    private Long weekdaying;

    /** 已出库数量 */
    @Excel(name = "已出库数量")
    private Long quantityShipped;

    /** 已回传数量 */
    @Excel(name = "已回传数量")
    private Long returnNumber;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long audit;

    /** 结案状态 */
    @Excel(name = "结案状态")
    private Long close;

    /** 删除标准 */
    private Long delFlag;

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getCustomerModel() {
        return customerModel;
    }

    public void setCustomerModel(String customerModel) {
        this.customerModel = customerModel;
    }

    public void setConsignmentId(String consignmentId)
    {
        this.consignmentId = consignmentId;
    }

    public String getConsignmentId() 
    {
        return consignmentId;
    }
    public void setTypes(String types) 
    {
        this.types = types;
    }

    public String getTypes() 
    {
        return types;
    }
    public void setClientOrderNumber(String clientOrderNumber) 
    {
        this.clientOrderNumber = clientOrderNumber;
    }

    public String getClientOrderNumber() 
    {
        return clientOrderNumber;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setClientName(String clientName) 
    {
        this.clientName = clientName;
    }

    public String getClientName() 
    {
        return clientName;
    }
    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setColour(String colour)
    {
        this.colour = colour;
    }

    public String getColour()
    {
        return colour;
    }
    public void setWarehouseId(String warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId() 
    {
        return warehouseId;
    }
    public void setWeekdaying(Long weekdaying) 
    {
        this.weekdaying = weekdaying;
    }

    public Long getWeekdaying() 
    {
        return weekdaying;
    }
    public void setQuantityShipped(Long quantityShipped) 
    {
        this.quantityShipped = quantityShipped;
    }

    public Long getQuantityShipped() 
    {
        return quantityShipped;
    }
    public void setReturnNumber(Long returnNumber) 
    {
        this.returnNumber = returnNumber;
    }

    public Long getReturnNumber() 
    {
        return returnNumber;
    }
    public void setAudit(Long audit) 
    {
        this.audit = audit;
    }

    public Long getAudit() 
    {
        return audit;
    }
    public void setClose(Long close) 
    {
        this.close = close;
    }

    public Long getClose() 
    {
        return close;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("consignmentId", getConsignmentId())
            .append("types", getTypes())
            .append("clientOrderNumber", getClientOrderNumber())
            .append("date", getDate())
            .append("clientName", getClientName())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("color", getColour())
            .append("warehouseId", getWarehouseId())
            .append("weekdaying", getWeekdaying())
            .append("quantityShipped", getQuantityShipped())
            .append("returnNumber", getReturnNumber())
            .append("audit", getAudit())
            .append("close", getClose())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
